const express = require('express')
const router = express.Router()

const {addOrder,getOrder,getOrderlist,getByPhone,delOrder} = require('../router_handler/order')

router.post('/order',addOrder)
router.get('/order',getOrder)
router.get('/orderAll',getOrderlist)
router.get('/orderByPhone',getByPhone)
router.delete('/order/:id',delOrder)
module.exports = router